package com.frogs.ucenter.service.daoimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.TotalFlowInfoDao;
import com.frogs.ucenter.entity.TotalFlowInfo;
import com.frogs.ucenter.service.TotalFlowInfoService;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("totalFlowInfoService")
public class TotalFlowInfoServiceImpl extends BaseServiceImpl<TotalFlowInfo> implements TotalFlowInfoService {
    @Autowired
    private TotalFlowInfoDao totalFlowInfoDao;

    public TotalFlowInfoServiceImpl() {
        super();
    }

    public TotalFlowInfoDao getTotalFlowInfoDao() {
        return totalFlowInfoDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<TotalFlowInfo> getBaseDao() {
        return totalFlowInfoDao;
    }

    public void setTotalFlowInfoDao(TotalFlowInfoDao totalFlowInfoDao) {
        this.totalFlowInfoDao = totalFlowInfoDao;
    }
}